<div data-role="content" data-scroll="y">
<div data-iscroll="scroller">

<?php echo validation_errors('<p class="error">'); ?>

<?php echo form_open('user_controller/edit_profile');?>
<label for="title">Full Name:</label>
<input type=text name="fullname" value="<?=$rows->fullname?>">
<br>
<label for="email">Email</label>
<h4><?=$rows->email?></h4>
<br>
<label for="location">Current Location:</label>
<input type=text name="location" value="<?=$rows->location?>">
<br>
<label for="birthdate">Birthday:</label>
<input name="birthdate" id="birthdate" type="date" value="<?="$rows->birthdate"?>" data-role="datebox"data-options='{"mode": "flipbox"}'>
<br>
<!-- 
<label for="username">Username:</label>
<input type=text name="username" value="<?=$rows->username?>">
<br>
-->
<label for="interest">Gender:</label><br>
<table border=0>
<tr>
<?php if($rows->gender==0):?>
<td><input type="radio" name="gender" value="0" checked/> 
<td><input type="radio" name="gender" value="1" /> 
<?php else:?>
<td><input type="radio" name="gender" value="0" /> 
<td><input type="radio" name="gender" value="1" checked/> 
<?php endif;?>
<tr>
<td>Male
<td>Female
</table>
<br>
<label for="interest">Interests:</label>
<input type=text name="interest" value="<?=$rows->interest?>">
<br>
<label for="languages">Languages:</label>
<input type=text name="language" value="<?=$rows->language?>">
<br>
<label for="description">Description:</label>
<textarea rows="5" cols="20" name="description"><?=$rows->description?></textarea>
<br>
<input type=submit value="Submit Changes">
<?php echo form_close();?>
</div>
</div> 